home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DJGPP
/
BCCGRX12.ZIP
/
contrib
/
bcc2grx
/
src
/
bccgrx17.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-05-04
|
496b
|
21 lines
/*
* BCC2GRX - Interfacing Borland based graphics programs to LIBGRX
* Copyright (C) 1993 Hartmut Schirmer
*
* see bccgrx.c for details
*/
#include "bccgrx00.h"
void rectangle(int left, int top, int right, int bottom)
{
_DO_INIT_CHECK;
if (__gr_lstyle == SOLID_LINE && LNE.lno_width == 1)
GrBox( left+VL, top+VT, right+VL, bottom+VT, COL|WR);
else {
LNE.lno_color = COL|WR;
GrCustomBox( left+VL, top+VT, right+VL, bottom+VT, &__gr_Line);
}
}